package cn.edu.bit.lixin.blog.entity;

import java.util.Date;

public class Upload implements java.io.Serializable{
	private int id;//File的ID
	private String filePath;//file的路径
	private String filename;//file的名字
	private int dlTime;//文件的下载次数
	private Date ulTime;//文件的上传时间
	private String other;//预留
	
	private User user;//上传者
	private Blog blog;//针对的日志
	
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Blog getBlog() {
		return blog;
	}
	public void setBlog(Blog blog) {
		this.blog = blog;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getFilePath() {
		return filePath;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	public String getFilename() {
		return filename;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	public int getDlTime() {
		return dlTime;
	}
	public void setDlTime(int dlTime) {
		this.dlTime = dlTime;
	}
	public Date getUlTime() {
		return ulTime;
	}
	public void setUlTime(Date ulTime) {
		this.ulTime = ulTime;
	}
	public String getOther() {
		return other;
	}
	public void setOther(String other) {
		this.other = other;
	}
	
}
